<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-status" class="form-control selectpicker" name="row[status]">
                <option value="0" {if $row.status == 0}selected{/if}>待审核</option>
                <option value="1" {if $row.status == 1}selected{/if}>通过</option>
                <option value="2" {if $row.status == 2}selected{/if}>拒绝</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">审核原因:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-audit_reason" class="form-control" rows="5" name="row[audit_reason]" placeholder="请输入审核原因">{$row.audit_reason|default=""}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
